{% extends '::frontend.html.twig' %}

{% block statusTitle %}
<h1>Rellene los Campos</h2>
{% endblock %}

{% block contenido %}

<div class="row">
	<form method="post" action="{{ path('rs_clientform') }}">
	{{ form_errors(form_customer) }}
	<div class="col-md-6">
		<fieldset>
		<legend><small>Datos personales</small></legend>
		{{ form_row(form_customer.name) }}
		{{ form_row(form_customer.dni) }}
		{{ form_row(form_customer.email) }}
		{{ form_row(form_customer.phone) }}
		{{ form_row(form_customer.phone2) }}
		</fieldset>
	</div>
	
	<div class="col-md-6">
	<fieldset>
		<legend><small>Datos del Servicio</small></legend>
		{{ form_row(form_customer.city) }}
		{{ form_row(form_customer.province) }}
		{{ form_row(form_customer.zipcode) }}
		{{ form_row(form_customer.address) }}
		
			<label for ="comment" class="textarea">Comentario<label>
			<textarea id="comment" name="comment" class="form-control" rows="3" style="width: 100%;"></textarea>
		
		
		<div class="control-group ">
			<label for = "acept" class="checkbox">
			  <input type="checkbox" value="" name = "acept" id="acept" required>
			 Acepto las <a href="#condiciones" role="button" data-toggle="modal">condiciones de venta por Internet.</a>
			</label>
		</div>
		</fieldset>
	</div>
	<div class="row">
	{{ form_row(form_customer.submit) }}
	</div>
	{{ form_rest(form_customer) }}
	</form>
</div>
{% endblock %}
